

package com.library.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.library.common.base.ApiResult;
import com.library.entity.BookUserEntity;
import com.library.entity.dto.BookUserVO;
import com.library.entity.vo.BookUserVo;
import com.library.entity.vo.UserVo;
import org.springframework.validation.BindingResult;

import javax.servlet.http.HttpServletResponse;
import java.util.List;

/**
 * 资源使用方
 *
 * @author pig
 * @date 2023-06-29 09:59:08
 */
public interface BookUserService extends IService<BookUserEntity> {

	ApiResult importUser(List<BookUserVo> excelVOList, BindingResult bindingResult);

	List<BookUserVo> export(UserVo userVo);

	ApiResult remove(Long[] ids);

	ApiResult saveUser(BookUserEntity bookUser);
	ApiResult saveUserR(BookUserVO bookUser);

	ApiResult update( UserVo bookUser);

	void getFile(String bucket, String fileName, HttpServletResponse response);

	ApiResult getUser(Page page, UserVo userVo);

	ApiResult getOne(Long id);

	ApiResult login(String userName,String userCode);
}
